package cn.xd.base.application.service.query;

import cn.xd.base.application.dto.query.AdminOrgRoleQuery;
import cn.xd.base.application.dto.query.AdminRoleQuery;
import cn.xd.base.domain.bean.response.AdminOrgRoleDTO;
import cn.xd.base.domain.bean.response.AdminRoleDTO;
import cn.xd.base.domain.bean.response.AdminRoleDetailDTO;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

public interface AdminRoleQueryAppService {

    Page<AdminRoleDTO> getPage(AdminRoleQuery query, List<Long> orgId);

    AdminRoleDetailDTO getInfo(Long id);

    List<AdminRoleDTO> getList(AdminRoleQuery query, List<Long> orgIds);

    Boolean checkHasName(String name, Long id);

    Page<AdminOrgRoleDTO> getAdminOrgRolePage(AdminOrgRoleQuery query, List<Long> orgIds);
}
